package com.achievement.mappings.author;

import com.achievement.domain.bo.author.StandardAuthorBO;
import com.achievement.domain.dto.author.StandardAuthorDTO;
import com.achievement.domain.entity.author.StandardAuthorEntity;
import com.achievement.domain.vo.author.StandardAuthorVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface StandardAuthorMapping {

    StandardAuthorVO dto2Vo(StandardAuthorDTO dto);

    StandardAuthorBO dto2Bo(StandardAuthorDTO dto);

    StandardAuthorEntity dto2Entity(StandardAuthorDTO dto);

    StandardAuthorDTO vo2Dto(StandardAuthorVO vo);

    StandardAuthorVO bo2Vo(StandardAuthorBO bo);
    StandardAuthorEntity bo2Entity(StandardAuthorBO bo);

    StandardAuthorDTO entity2Dto(StandardAuthorEntity dto);

    StandardAuthorVO entity2Vo(StandardAuthorEntity dto);

    StandardAuthorBO entity2Bo(StandardAuthorEntity dto);

}
